Skip to main content

POST Refresh Live Video Status

Overview

The table below provides key details about the POST method to refresh the status of a live video.

Refresh Live Video Status
MethodPOST
URL or Endpoint/api/v1/projectId/live-hubs/videoId/refresh-status
HeadersAuthorization
Content Typeapplication/json
ParametersprojectId, videoId
Request BodyNone

The description of the URL parameters is as follows:

videoId URL Parameter
URL Parameter NamevideoId
MandatoryYes
Typestring
DescriptionUnique Id of the live video.
projectId URL Parameter
URL Parameter NameprojectId
MandatoryYes
Typestring
DescriptionUnique Id of the project.

Request Body

No body parameters are required for the "Refresh Live Video Status" endpoint.

Response

{
"success": true,
"errors": [],
"messages": [],
"result": {
"statusName": "string",
"healthStatusName": "string"
},
"resultInfo": null,
"statusCode": 200
}

Response Fields

Information about the fields that appear when you receive the response are displayed in the table below.

Field NameTypeDescription
successboolIf the response is successful, it will return true. Otherwise, it will return false.
errorsarray[]Indicates if there were any errors during the request.
messagesarray[]Returns any messages from the back-end system.
resultobjectContains the live video status and health information.
statusNamestringThe current status of the live video (e.g., "Live").
healthStatusNamestringThe health status of the live video (e.g., "Healthy").
resultInfostringProvides additional information about the result.
statusCodeinteger($int32)Returns the HTTP Status Code.

If the action is successful, the service sends back an HTTP 200 response.

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code 400: Bad Request
  • HTTP Status Code 401: Unauthorized
  • HTTP Status Code 403: Forbidden
  • HTTP Status Code 404: Result Not Found
  • HTTP Status Code 500: Internal Server Error
  • HTTP Status Code 503: Backend Fetch Failed